package com.eps.module.testdagger2_2.component;

import com.eps.module.testdagger2_2.LoginActivity;
import com.eps.module.testdagger2_2.SecondActivity;
import com.eps.module.testdagger2_2.module.NetworkModule;
import com.eps.module.testdagger2_2.module.SubcomponentsModule;

import javax.inject.Singleton;

import dagger.Component;

@Singleton
@Component(modules = {NetworkModule.class, SubcomponentsModule.class})
public interface ApplicationComponent {

//    void injectX(LoginActivity loginActivity);
//    void injectX(SecondActivity secondActivity);


    // This function exposes the LoginComponent Factory out of the graph so consumers
// can use it to obtain new instances of LoginComponent
    LoginComponent.Factory loginComponent();
}
